$OpenBSD: patch-qtopengl_CMakeLists_txt,v 1.1.1.1 2013/04/24 19:06:07 zhuk Exp $
--- qtopengl/CMakeLists.txt.orig	Sun Oct  9 18:24:15 2011
+++ qtopengl/CMakeLists.txt	Sun Oct  9 18:25:24 2011
@@ -1,4 +1,6 @@
-include_directories( ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} )
+find_package(OpenGL REQUIRED)
+
+include_directories( ${OPENGL_INCLUDE_DIR}  ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} )
 
 configure_file(config.xml.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.xml @ONLY)
 
